<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="pressDom.css">
    <script src="pressDom.js"></script>
</head>
<body>
    <div id="contenDiv">
        <table border="1px solid black" width="50%" cellspacing="0">
            <thead>
                <tr><th>姓名</th><th>职位</th><th>工资</th></tr>
            </thead>
            <tbody id="data">
                <tr><td>张三</td><td>经理</td><td>12000</td></tr>
                <tr><td>李四</td><td>员工</td><td>8000</td></tr>
                <tr><td>王五</td><td>员工</td><td>8000</td></tr>
            </tbody>
        </table>

        <div id="inputDiv">
            姓名：<input type="text" id="name"><br>
            职位：<input type="text" id="job"><br>
            工资：<input type="text" id="salary"><br>
            <input type="button" value="添加" onclick="add()">
            <input type="button" value="删除" onclick="del()">
            <input type="button" value="删除所有" onclick="delAll()">
            <input type="button" value="修改" onclick="update()">
        </div>
    </div>
</body>
</html>